package com.xdxc.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class GradingResultDTO  implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private long id;
    @JsonSerialize(using = ToStringSerializer.class)

    private Long answerId;
    private boolean isCorrect;
    private BigDecimal userScore;

    private String details;
    private String ruleVersion;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long paperId;
}
